LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

IndexOf Method (ListWithEvents<T>)







The object to locate in the ListWithEvents<T>. The value can be null for reference types.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ListWithEvents<T>.
Syntax
public int IndexOf( 
   T item
)
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
'Usage
 
Dim instance As ListWithEvents(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   T item
)
 function Leadtools.Medical.Workstation.ListWithEvents.IndexOf( 
   item 
)
public: int IndexOf( 
   T* item
) 
public:
int IndexOf( 
   T* item
) 

Parameters

item
The object to locate in the ListWithEvents<T>. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the ListWithEvents<T>, if found; otherwise, -1.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListWithEvents<T> Class
ListWithEvents<T> Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.